#pragma once
#include "labelUi.hpp"

class PageViewUi : public LabelUiBase
{
	DECLARE_DYNAMIC(PageViewUi)

public:
	PageViewUi(LabelUiBase* pParentLabelUi, OssJson& createInfo);
	virtual ~PageViewUi();

protected:
	DECLARE_MESSAGE_MAP()

public:
    afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
    afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnPreView();
	afx_msg void OnNextView();
	afx_msg LRESULT OnGetBtnTextRsp(WPARAM wparam,LPARAM lparam);
	

	void ShowCurentView();
private:
	CFont				m_font;
	CButton				m_preBtn;
	CButton				m_nextBtn;
	int					m_iCurrentView;
	BOOL				m_preBtnClose;
	BOOL				m_nextBtnClose;
};


